﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
    /// evidence_notify:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class evidence_notify
    {
        public evidence_notify()
        { }
        #region Model
        private int _id;
        private int _instance_id = 0;
        private string _code;
        private string _number;
        private string _title;
        private string _xingwei;
        private string _guiding;
        private string _address;
        private string _who;
        private string _qianm;
        private DateTime? _subtime = null;
        private DateTime _add_time = DateTime.Now;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 实例ID
        /// </summary>
        public int instance_id
        {
            set { _instance_id = value; }
            get { return _instance_id; }
        }
        /// <summary>
        /// 通知书编码
        /// </summary>
        public string code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 通知书号
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 被处罚人
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 涉嫌行为
        /// </summary>
        public string xingwei
        {
            set { _xingwei = value; }
            get { return _xingwei; }
        }
        /// <summary>
        /// 规定
        /// </summary>
        public string guiding
        {
            set { _guiding = value; }
            get { return _guiding; }
        }
        /// <summary>
        /// 存放地点
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 保管人
        /// </summary>
        public string who
        {
            set { _who = value; }
            get { return _who; }
        }
        /// <summary>
        /// 当事人确认签名
        /// </summary>
        public string qianm
        {
            set { _qianm = value; }
            get { return _qianm; }
        }
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime? subtime
        {
            set { _subtime = value; }
            get { return _subtime; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }

        private List<evidence_notify_attach> _attach;
        public List<evidence_notify_attach> attach
        {
            set { _attach = value; }
            get { return _attach; }
        }
        #endregion
    }
}
